<template>
	<view class="contain">
		<view class="content p30">
			<u-parse :html="content"></u-parse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: `
				<img src="https://cdn.uviewui.com/uview/swiper/2.jpg" />
									<p>露从今夜白，月是故乡明</p>
									
								`
			}
		},
		onLoad() {
			this.kefu()
		},
		methods: {
			async kefu() {
				const res = await this.$u.api.kefu({
					code: 'ORDER_DESCRIPTION'
				})
				this.content = res.description
			},
		}
	}
</script>

<style>
	.content {
		padding: 50rpx 30rpx 0;
	}
</style>